package com.example.init;

import javax.sql.DataSource;

public class FlowLongInit {
    public static void initFlowLongEngine(DataSource dataSource) {
//            FlowLongEngineConfiguration configuration = new FlowLongEngineConfiguration();
//        configuration.setDataSource(dataSource);
//        FlowLongEngineFactoryBean factoryBean = new FlowLongEngineFactoryBean(configuration);
//        FlowLongEngine flowLongEngine = factoryBean.getObject();
//        // 你可以通过 flowLongEngine 来操作工作流

//        FlowLongContext flowLongContext =
//        FlowLongEngine flowLongEngine = new FlowLongEngineImpl();
    }
}